package com.likai.service.impl;

import com.likai.service.IDemoProviderService;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DemoProviderServiceImpl implements IDemoProviderService {

    public String sayHello(String name) {
        String now = new SimpleDateFormat("yyyy-MM-dd HH:mm:SS").format(new Date());
        return "[当前时间：" + now + ", 端口：20881]  " + name + " Hello！";
    }
}
